package icu.lookyousmileface.mapper;

import icu.lookyousmileface.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @author starrysky
 * @title: UserMapper
 * @projectName spring-shiro-parent
 * @description: mapper layer
 * @date 2021/2/1023:08
 */
@Mapper
@Repository
public interface UserMapper {
    /**
     * 根据用户名查询
     * @param name
     * @return
     */
    User queryUserByName(String name);
}
